package com.songcha.module_category.ui.fragment.category

import com.songcha.library_base.mvvm.base.BaseRepository
import com.songcha.library_business.bean.book.BookNetBean
import com.songcha.library_network.bean.BaseListDataBean
import com.songcha.module_category.api.CategoryApiManager
import com.songcha.module_category.bean.CategoryChannelListBean
import io.reactivex.Observable

class CategoryRepository:BaseRepository() {
    fun getCategoryChannelList():Observable<CategoryChannelListBean>{
        return CategoryApiManager.api.getCategoryChannelList()
    }

    fun getHomeRecommendDialogBookList():Observable<BaseListDataBean<BookNetBean>>{
        return CategoryApiManager.api.getHomeRecommendDialogBookList()
    }
}